export const options = {
    dialogType: 'drawer',
    border: true,
    menuType: 'text',
    menuAlign: 'center',
    excelBtn: true,
    border: true,
    index: true,
    stripe: true,
    expandLevel: 3,
    headerAlign: 'center',
    align: 'center',
    viewBtn: true,
    tree: true,
    // labelWidth: 80,
    searchMenuSpan: 6,
    column: [{
        label: '项目主图',
        prop: 'img_url',
        type:'img',
        row: true,
        formslot: true
    },
    {
        label: '项目链接',
        prop: 'href',
        row: true,
    },{
        label: '项目名称',
        prop: 'name',
        row: true,
        rules: [{
            required: true,
            message: '请填写项目名称',
            trigger: 'blur'
        }],
    }, {
        label: '项目描述',
        prop: 'describe',
        type:'textarea',
        row: true,
        rules: [{
            required: true,
            message: '请填写项目描述',
            trigger: 'blur'
        }],
    }, {
        label: '开始时间',
        prop: 'end_time',
        type: 'datetime',
        rules: [{
            required: true,
            message: '请选择开始时间',
            trigger: 'blur'
        }],
    },  {
        label: '结束时间',
        prop: 'start_time',
        type: 'datetime',
        rules: [{
            required: true,
            message: '请选择结束时间',
            trigger: 'blur'
        }],
    }, {
        label: '所属分类',
        prop: 'category_Info',
        display:false
    },{
        label: '选择分类',
        prop: 'category_id',
        hide:true,
        row: true,
        rules: [{
            required: true,
            message: '请选择分类',
            trigger: 'blur'
        }],
    }
    ]
}